#pragma once
#include "Position.h"

class WallModel
{
private:
	bool direction;
	Position* position;

public:
	static const bool DIR_VERTICAL = true;
	static const bool DIR_HORIZONTAL = false;

	WallModel();
	WallModel(int, int, bool);
	WallModel(WallModel const&); // Constructeur par recopie
	
	void toggleDirection() {
		if (direction == DIR_HORIZONTAL)
			direction = DIR_VERTICAL;
		else
			direction = DIR_HORIZONTAL;
	}
	bool getDirection() { return direction; }
	Position* getPosition() { return position; }
};

